﻿using BitButterCORE.Component;
using BitButterCORE.Factory;

namespace BitButterCORE.Object
{
	public interface IObjectReference<out T>
		where T : BaseObject
	{
		IFactory Factory { get; }
		uint ID { get; }
		T Object { get; }
		U GetComponent<U>() where U : BaseComponent;
	}
}
